package com.shqcjd.yunweiyanoperator.model.pojo;

import java.util.List;

public class StateInspectionRecordBean {
    /**
     * id : 7
     * name : #test1
     * running : false
     * task_code :
     * prev : {"id":0,"name":"","kks":"","longitude":"","latitude":"","group":false}
     * next : {"id":0,"name":"","kks":"","longitude":"","latitude":"","group":false}
     * parts : [{"id":122,"part_name":"部位1","items":[{"id":54,"name":"项1","stand":"干净","min":"0.00","max":"0.00","check_type":1,"last_result":0,"check_method":[{"type":null,"name":"1","data":""}],"equipment_part_id":122,"result":2,"initiative":false,"data_type":"","value":"-1","imgs":["https://yuhuantest.oss-cn-shanghai.aliyuncs.com/1555985708536-20190524105448.jpg"]},{"id":55,"name":"项2","stand":"整洁","min":"0.00","max":"0.00","check_type":1,"last_result":0,"check_method":[{"type":null,"name":"1","data":""}],"equipment_part_id":122,"result":0,"initiative":false,"data_type":"","value":"-1","imgs":[]}]},{"id":123,"part_name":"部位2","items":[{"id":56,"name":"项1","stand":"舒适","min":"0.00","max":"0.00","check_type":1,"last_result":0,"check_method":[{"type":null,"name":"1","data":""}],"equipment_part_id":123,"result":0,"initiative":false,"data_type":"","value":"-1","imgs":[]}]},{"id":124,"part_name":"部位3","items":[{"id":57,"name":"项1","stand":"。。。","min":"0.00","max":"0.00","check_type":1,"last_result":1,"check_method":[{"type":null,"name":"1","data":""}],"equipment_part_id":124,"result":0,"initiative":false,"data_type":"","value":"-1","imgs":[]}]}]
     */

    public int id;
    public String name;
    public boolean running;
    public String task_code;
    public PrevBean prev;
    public NextBean next;
    public List<PartsBean> parts;

    public static class PrevBean {
        /**
         * id : 0
         * name :
         * kks :
         * longitude :
         * latitude :
         * group : false
         */

        public int id;
        public String name;
        public String kks;
        public String longitude;
        public String latitude;
        public boolean group;
    }

    public static class NextBean {
        /**
         * id : 0
         * name :
         * kks :
         * longitude :
         * latitude :
         * group : false
         */

        public int id;
        public String name;
        public String kks;
        public String longitude;
        public String latitude;
        public boolean group;
    }

    public static class PartsBean {
        /**
         * id : 122
         * part_name : 部位1
         * items : [{"id":54,"name":"项1","stand":"干净","min":"0.00","max":"0.00","check_type":1,"last_result":0,"check_method":[{"type":null,"name":"1","data":""}],"equipment_part_id":122,"result":2,"initiative":false,"data_type":"","value":"-1","imgs":["https://yuhuantest.oss-cn-shanghai.aliyuncs.com/1555985708536-20190524105448.jpg"]},{"id":55,"name":"项2","stand":"整洁","min":"0.00","max":"0.00","check_type":1,"last_result":0,"check_method":[{"type":null,"name":"1","data":""}],"equipment_part_id":122,"result":0,"initiative":false,"data_type":"","value":"-1","imgs":[]}]
         */

        public int id;
        public String part_name;
        public List<ItemsBean> items;

        public static class ItemsBean {
            /**
             * id : 54
             * name : 项1
             * stand : 干净
             * min : 0.00
             * max : 0.00
             * check_type : 1
             * last_result : 0
             * check_method : [{"type":null,"name":"1","data":""}]
             * equipment_part_id : 122
             * result : 2
             * initiative : false
             * data_type :
             * value : -1
             * imgs : ["https://yuhuantest.oss-cn-shanghai.aliyuncs.com/1555985708536-20190524105448.jpg"]
             */

            public int id;
            public String name;
            public String stand;
            public String min;
            public String max;
            public int check_type;
            public int last_result;
            public int equipment_part_id;
            public int result;
            public boolean initiative;
            public String data_type;
            public String value;
            public List<CheckMethodBean> check_method;
            public List<String> imgs;

            public static class CheckMethodBean {
                /**
                 * type : null
                 * name : 1
                 * data :
                 */

                public Object type;
                public String name;
                public String data;
            }
        }
    }
}
